   <h4 class="page-header">
	 	房间使用统计
	</h4>	
	<div class="">
		<p>共使用房间：<span style="color: red;"><?=$room_num?></span>间</p>
	</div>	
	<table class="table table-bordered" style="margin-top:15px;font-size:12px;">
		 <thead>
            <tr><th>房间名称</th><th>房间类型</th><th>共计间数</th><th>共计人数</th></tr>
        </thead>
        <tbody>
        	<?php if($room){ ?>
        		<?php foreach($room as $r){ ?>
        			<tr>
        				<td><?=$r->room->name.' '.$r->room->code.' '.$r->num.'人间'?></td>
        				<td><?=$r->room->code?></td>
        				<td><?=$r->num_s?></td>
        				<td><?=$r->roomNumCustomerNum?></td>
        			</tr>
        		<?php }?>
        	<?php }?>

			<tr>
				<td colspan="3"><span style="float: right">总人数</span></td>	
				<td><?=$customer_num?></td>
			</tr>
        		
        </tbody> 
	</table>	